<template>
    <div class="app-container editcss">
        <el-row :gutter="0" class="el-card is-always-shadow el-card__body  card_contents" style="padding: 0px;">
            <el-col class="titleHeight">
                <el-row class="content_h">
                    <el-col class="title_tops">
                        <div class="title_tops_t">
                            <div class="title_top_E">Transfer Record</div>
                            <div class="title_top_C">调拨记录</div>
                        </div>
                    </el-col>
                    <el-col class="screen_case">
                        <el-col :span="3">
                            <div class="screen_case_amount">
                                <span class="screen_case_amount_lable">调拨记录数量：</span>
                                <span class="screen_case_amount_value">{{total}}</span>
                            </div>
                        </el-col>
                        <el-col :span="4">
                            <screenSelect title="机构名称" type='input' v-model="queryFrom.hospitalName"
                                :isValue='queryFrom.hospitalName' placeholder="请输入"
                                @transfer="valueHeld($event, 'hospitalName')" width='168px' class="mb15" />
                            <screenSelect title="审核状态" type='select' v-model="queryFrom.auditStatus"
                                :isValue='queryFrom.auditStatus' placeholder="请选择"
                                @transfer="valueHeld($event, 'auditStatus')" :options="auditStatusoptions" class="" />
                        </el-col>
                        <el-col :span="9">
                            <el-row>
                                <el-col style="display: flex;" class="mb15">
                                    <screenSelect title="所在地区" type='select' v-model="queryFrom.province"
                                        :isValue='queryFrom.province' placeholder="请选择省"
                                        @transfer="valueHeld($event, 'province')" :options="ProvinceList" class="" />
                                    <screenSelect title="" type='select' v-model="queryFrom.city" :isValue='queryFrom.city'
                                        placeholder="请选择市" @transfer="valueHeld($event, 'city')" :options="CityList"
                                        class="" />
                                    <screenSelect title="" type='select' v-model="queryFrom.areas"
                                        :isValue='queryFrom.areas' placeholder="请选择区" @transfer="valueHeld($event, 'areas')"
                                        :options="AreaList" class="" />
                                </el-col>
                                <el-col>
                                    <screenSelect title="时间段筛选" type='daterange' v-model="queryFrom.transferDateTime"
                                        :isValue='queryFrom.transferDateTime'
                                        @transfer="valueHeld($event, 'transferDateTime')" width='343px' />
                                </el-col>
                            </el-row>
                        </el-col>
                        <el-col :span="6">
                            <el-button type="primary" class="ch_button" @click="search">
                                <img class="ch_button_img" src="../../assets/iconfont/zoom-out.png" alt="" srcset="">
                                <div>搜索</div>
                            </el-button>
                            <el-button type="primary" class="ch_button" @click="reset">
                                <img class="ch_button_img" src="../../assets/iconfont/rotate-ccw.png" alt="" srcset="">
                                <div>选项重置</div>
                            </el-button>
                            <el-button type="primary" class="ch_button" :disabled="isDerive" @click="derive">
                                <img class="ch_button_img" src="../../assets/iconfont/share.png" alt="" srcset="">
                                <div>数据导出</div>
                            </el-button>
                        </el-col>
                    </el-col>
                </el-row>
            </el-col>
            <el-col class="dialog_title_ch_conter_operate  card_contents_tex">
                <el-table border :data="tableData"  :key="randomTableKey" :height="endHeight" fit style="width: 100%;" header-row-class-name="hrcn" row-class-name="rcn">
                    <el-table-column align="center" label="ID" min-width="120">
                        <template slot-scope="scope">
                            {{ scope.row.timTransferNo }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="机构名称">
                        <template slot-scope="scope">
                            {{ scope.row.hospitalName }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="所在地区" min-width="100">
                        <template slot-scope="scope">
                            {{ scope.row.province }}{{ scope.row.city }}{{ scope.row.areas }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="调拨服务商" min-width="150">
                        <template slot-scope="scope">
                            {{ scope.row.serviceName }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="调拨类型" min-width="50">
                        <template slot-scope="scope">
                            {{ scope.row.transferType==null?'次数':transferTypeoptionsA[scope.row.transferType] }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="调拨数量" min-width="50">
                        <template slot-scope="scope">
                            {{ scope.row.transferNumber }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="审核状态">
                        <template slot-scope="scope">
                            <div :style="scope.row.auditStatus == 1 ? 'color:#19CDA6;' : 'color:#FE294D;'">
                                {{ statussettArr[scope.row.auditStatus] }}
                            </div>
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="调拨时间">
                        <template slot-scope="scope">
                            {{ parseTime(scope.row.transferDate,'{y}.{m}.{d}') }}
                        </template>
                    </el-table-column>
                    <el-table-column fixed="right" align="center" label="操作" width="100">
                        <template slot-scope="scope">
                            <el-button class="editbtn" type="text" size="small" @click="viewClick(scope.row)">
                                <img src="../../assets/iconfont/particulars.png" alt="">
                                查看备注</el-button>
                            <!-- <el-button class="delbtn" type="text" size="small" @click="delClick(scope.row)">
                  <img src="../../assets/iconfont/icondel.png" alt="">
                  删除</el-button> -->
                        </template>
                    </el-table-column>
                </el-table>
                <div class="paginationblock" v-if="tableData.length > 0">
                    <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
                        :current-page="pageData.pageNo" :page-sizes="[10, 20, 30, 40]" :page-size="pageData.pageSize"
                        :background="true" layout="total, sizes, prev, pager, next, jumper" :total="total">
                    </el-pagination>
                </div>
            </el-col>
        </el-row>

        <!-- 新增 编辑 -->
        <el-dialog :visible.sync="addDialogVisible" custom-class="addeteDialog" :modal='true'>
            <div slot="title">
                <div class="title_top_E">Time Transfer Record</div>
                <div class="title_top_C">调拨记录详情</div>
            </div>
            <div class="addeteDialog_conter">
                <div class="top_content">
                    <div class="top_content_item">
                        <div class="top_content_item_title">时间调拨信息：</div>
                        <el-row :gutter="20">
                            <el-col class="" :span="8">
                                <span class="top_content_item_lable">接收机构名称：</span>
                                <span class="top_content_item_value">{{ fromDatas.hospitalName }}</span>
                            </el-col>
                            <el-col class="" :span="8">
                                <span class="top_content_item_lable">调拨服务商：</span>
                                <span class="top_content_item_value">{{ fromDatas.serviceName }}</span>
                            </el-col>
                            <el-col class="" :span="8">
                                <span class="top_content_item_lable">调拨类型：</span>
                                <span class="top_content_item_value">{{ fromDatas.transferType==null?'次数':transferTypeoptionsA[fromDatas.transferType] }}</span>
                            </el-col>
                            <el-col class="" :span="8">
                                <span class="top_content_item_lable">调拨数量：</span>
                                <span class="top_content_item_value">{{ fromDatas.transferNumber }}</span>
                            </el-col>
                            <el-col class="" :span="8">
                                <span class="top_content_item_lable">调拨操作人：</span>
                                <span class="top_content_item_value">{{fromDatas.createBy}}</span>
                            </el-col>
                            <el-col class="" :span="8">
                                <span class="top_content_item_lable">调拨时间：</span>
                                <span class="top_content_item_value">{{ parseTime(fromDatas.transferDate,'{y}.{m}.{d}') }}</span>
                            </el-col>
                            <el-col class="" :span="8" v-if="fromDatas.auditUserName">
                                <span class="top_content_item_lable">调拨审核人：</span>
                                <span class="top_content_item_value">{{fromDatas.auditUserName}}</span>
                            </el-col>
                            <el-col class="" :span="8" v-if="fromDatas.auditDate">
                                <span class="top_content_item_lable">审核时间：</span>
                                <span class="top_content_item_value">{{ parseTime(fromDatas.auditDate,'{y}.{m}.{d}') }}</span>
                            </el-col>
                        </el-row>
                    </div>
                    <div class="top_content_item">
                        <div class="top_content_item_title">订单信息</div>
                        <div class="top_content_item_content">
                            {{ fromDatas.remark }}
                        </div>
                    </div>
                </div>
            </div>

        </el-dialog>
        <!-- 删除 -->
        <!-- <el-dialog title="提示" :visible.sync="delDialogVisible" custom-class="deleteDialog" :show-close='false'
            :modal='false'>
            <span class="deleteDialogSpanconter">您确认要删除该条信息？</span>
            <span slot="footer" class="dialog-footer">
                <el-button type="danger" @click="delHeld">确认删除</el-button>
                <el-button type="primary" @click="delDialogVisible = false">取消</el-button>
            </span>
        </el-dialog> -->
        <!-- 结算 -->
        <el-dialog title="提示" :visible.sync="jbDialogVisible" custom-class="settleDialog" :show-close='false' :modal='true'>
            <span class="deleteDialogSpanconter">您确认要结算此订单吗？</span>
            <span slot="footer" class="dialog-footer">
                <el-button type="primary" @click="confirmHeld">确认结算</el-button>
                <el-button type="primary" @click="jbDialogVisible = false">取消</el-button>
            </span>
        </el-dialog>
    </div>
</template>

<script>
import construction from '@/components/construction/index.vue'
import screenSelect from '@/components/screenSelect/index.vue'
import steplog from '@/components/steplog/index.vue'
import { getTimePageList ,getTimeExpor} from '@/api/timeallot'
import { getProvince, getCity, getArea } from '@/api/common'
import { formatDates } from '@/utils/index'
import {
    mapGetters
} from 'vuex'
export default {
    name: "orderallot",
    components: {
        construction,
        screenSelect,
        steplog
    },
    computed: {
        ...mapGetters([
            'permissionList'
        ])
    },
    watch: {
        'queryFrom.province': {
            handler(newVal, oldVal) {
                this.queryFrom.city = ''
                this.queryFrom.areas = ''
                if (newVal) {
                    this.getCity()
                }
            }
        },
        'queryFrom.city': {
            handler(newVal, oldVal) {
                this.queryFrom.areas = ''
                if (newVal) {
                    this.getArea()
                }
            }
        }
    },
    data() {
        return {
            delDialogVisible: false,
            addDialogVisible: false,
            jbDialogVisible: false,
            loading:false,
            fromDatas: {

            },
            queryFrom: {
                province: '',
                city: '',
                areas: '',
                transferType: '',
                auditStatus: '',
                hospitalName: '',
                transferDateTime: '',
                transferDateStart: '',
                transferDateEnd: ''
            },
            transferTypeoptions: [{
                value: 0,
                label: '小时'
            }, {
                value: 1,
                label: '天'
            }],
            auditStatusoptions: [{
                value: 0,
                label: '待审核'
            }, {
                value: 1,
                label: '已审核'
            }, {
                value: 2,
                label: '已驳回'
            }],
            transferTypeoptionsA:['小时','天'],
            ProvinceList: [],
            CityList: [],
            AreaList: [],
            statussettArr: ['待审核', '已审核','已驳回'],
            tableData: [],
            multipleSelection: [],
            checkAll: false,
            isIndeterminate: false,
            pageData: {
                pageNo: 1,
                pageSize: 10
            },
            total: 0,
            endHeight:0,
            randomTableKey:null,
			isDerive:false
        };
    },
    mounted() {
        console.log(this.$route);
        this.getProvince()
        this.getList()
        let fHeight = (window.getComputedStyle(document.querySelector('.editcss')).height).replace('px', "")
        let zHeight = (window.getComputedStyle(document.querySelector('.titleHeight')).height).replace('px', "")
        this.endHeight = (fHeight-zHeight-120)
    },
    methods: {
        getList() {
            let that = this
            const loading = that.$loading({
                lock: true,
                text: 'Loading...',
                spinner: 'el-icon-loading',
                background: 'rgba(0, 0, 0, 0.7)'
            });
            getTimePageList(this.queryFrom, this.pageData).then(res => {
                if (res.code == 200) {
                    this.tableData = res.data.dbTimeTransferPage.records
                    this.total = res.data.dbTimeTransferPage.total
                    this.randomTableKey = Math.random()
                    loading.close()
                }
            })
        },
        handleSizeChange(val) {
            this.pageData.pageSize = val
            this.getList()
        },
        handleCurrentChange(val) {
            this.pageData.pageNo = val
            this.getList()
        },
        getProvince() {
            getProvince().then(res => {
                if (res.code == 200) {
                    res.data.provinceList.map(item => {
                        item.label = item.name
                        item.value = item.id
                    })
                    this.ProvinceList = res.data.provinceList
                }
            })
        },
        getCity() {
            getCity(this.queryFrom.province).then(res => {
                if (res.code == 200) {
                    res.data.cityList.map(item => {
                        item.label = item.name
                        item.value = item.id
                    })
                    this.CityList = res.data.cityList
                }
            })
        },
        getArea() {
            getArea(this.queryFrom.city).then(res => {
                if (res.code == 200) {
                    res.data.areaList.map(item => {
                        item.label = item.name
                        item.value = item.id
                    })
                    this.AreaList = res.data.areaList
                }
            })
        },
        valueHeld(childParam, fatherparam) {
            this.queryFrom[fatherparam] = childParam
        },
        search() {
            this.pageData={
					pageNo: 1,
					pageSize: 10
				}
            if (this.queryFrom.transferDateTime != '') {
                this.queryFrom.transferDateEnd = formatDates(this.queryFrom.transferDateTime[1])
                this.queryFrom.transferDateStart = formatDates(this.queryFrom.transferDateTime[0])
            }
            this.getList()
        },
        reset() {
            this.queryFrom = {
                province: '',
                city: '',
                areas: '',
                transferType: '',
                auditStatus: '',
                hospitalName: '',
                transferDateTime: '',
                transferDateStart: '',
                transferDateEnd: ''
            }
            this.getList()
        },
        derive() {
			this.isDerive = true
			if (this.queryFrom.transferDateTime != '') {
			    this.queryFrom.transferDateEnd = formatDates(this.queryFrom.transferDateTime[1])
			    this.queryFrom.transferDateStart = formatDates(this.queryFrom.transferDateTime[0])
			}
			if(this.queryFrom.transferDateTime=='' || this.queryFrom.transferDateStart==''){
				this.$Toast('请先选择时间再导出')
				this.isDerive = false
				return
			}
            getTimeExpor(this.queryFrom).then(res => {
              const link = document.createElement('a')
             const blob = new Blob([res.data], {
               type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
             })

             const fileName = decodeURI(res.headers['content-disposition'].split(';')[1].split('=')[1].substring(7));
             link.setAttribute('download',fileName)
              link.style.display = 'none'
              link.href = URL.createObjectURL(blob)
              link.click()
			  setTimeout(()=>{
			  	this.isDerive = false
			  },5000)
            }).catch(err=>{
				setTimeout(()=>{
					this.isDerive = false
				},5000)
			})
        },
        // delClick(row) {
        //   this.delDialogVisible = true
        //   console.log(row);
        // },
        // 确认删除
        // delHeld() {
        //     this.delDialogVisible = false
        //     this.$Toast('删除成功')
        // },
        viewClick(row) {
            this.addDialogVisible = true
            console.log(row);
            this.fromDatas = row
        },
        // 确认结算
        confirmHeld() {
            this.jbDialogVisible = false
            this.$Toast('结算成功')
            this.multipleSelection = []
            this.checkAll = false
            this.isIndeterminate = false
            this.$refs.multipleTable.clearSelection()
        },
        //结算
        settleaccounts() {
            console.log(this.multipleSelection);
            if (this.multipleSelection.length > 0) {
                this.jbDialogVisible = true
            } else {
                this.$Toast('请勾选需要结算的订单')
            }
        },
        handleCheckAllChange(val) {
            this.isIndeterminate = false
            this.checkAll = val
            if (val) {
                this.$refs.multipleTable.clearSelection()
                this.tableData.map(item => {
                    this.$refs.multipleTable.toggleRowSelection(item)
                })
            } else {
                this.$refs.multipleTable.clearSelection()
            }
        },
        handleSelectionChange(val) {
            this.multipleSelection = val;
            if (val.length > 0) {
                if (val.length == this.tableData.length) {
                    this.isIndeterminate = false
                    this.checkAll = true
                } else {
                    this.isIndeterminate = true
                    this.checkAll = false
                }
            } else if (val.length == 0) {
                this.isIndeterminate = false
                this.checkAll = false
            }
        },

    }
}
</script>

<style lang="scss" scoped>
::v-deep .hrcn th {
    background-color: #FFFFFF;
    color: #989898;
    font-size: 15px;
    font-weight: 400;
}

// ::v-deep .hrcn th:nth-child(1) .el-checkbox{
//     visibility: hidden;
// }
::v-deep .el-table__fixed-right {
    height: calc(100% - 10px) !important;
}

::v-deep .el-table__fixed-right::before {
    display: none;
}

::v-deep .hrcn th .cell {
    border-right: 1px solid #EFEFEF;

}

::v-deep .hrcn th:last-child .cell {
    border-right: none;
}

::v-deep .rcn {
    color: #000;
    font-size: 16px;
    font-weight: 400;
}
::v-deep .rcn td:nth-last-child(1) {
    border-left: 1px solid #EFEFEF;
}

.card_contents {
    height: calc(100% - 1px);
    display: flex;
    flex-direction: column;
    align-items: center;
    // justify-content: center;
    overflow-y: auto;

    .card_contents_tex {
        flex: 1;
        overflow-y: auto;
        margin-bottom: 20px;
        // padding: 20px;
        min-height: 200px;
    }

    .card_contents_footer {
        padding: 16px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-top: 1px solid #EFEFEF;
    }
}

.content_h {
    min-height: 149px;
    border-radius: 5px;
    padding: 0px;
    border-bottom: 1px solid #EFEFEF;
    padding-bottom: 14px;
}

.title_tops {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    min-height: 79px;
    border-bottom: 1px solid #EFEFEF;

    .title_tops_t {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.screen_case_title {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-right: 35px;
}

.title_top_E {
    font-size: 12px;
    font-weight: 400;
    color: #9898989E;
}

.title_top_C {
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

.screen_case {
    display: flex;
    // align-items: center;
    padding: 14px 30px 0;
    flex-wrap: wrap;
}

.screen_case_amount {
    // margin-right: 38px;
    min-width: 210px;

    .screen_case_amount_lable {
        font-size: 15px;
        color: #989898;
    }

    .screen_case_amount_value {
        font-size: 16px;
        color: #000;
    }
}

::v-deep .ch_button_seav {
    padding: 7px 27px;

    span {
        display: flex;
        align-items: center;
        justify-content: center;

        div {
            font-size: 16px;
            font-weight: 400;
            margin-left: 10px;
        }
    }
}

.ch_button_img_seav {
    width: 24px;
    height: 24px;
}

.dialog_title_ch_conter_operate {
    // padding: 24px 35px;
    // border: 1px solid #EBEBEB;
    border-radius: 2px;
    // display: flex;
    // align-items: center;
}

::v-deep .editbtn span,
::v-deep .delbtn span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.editbtn,
.delbtn {
    img {
        width: 15px;
        height: 15px;
        margin-right: 4px;
    }
}

.delbtn {
    color: #FE294D;
    margin-left: 57px;
}

.editbtn:active,
.delbtn:active {
    opacity: .6;
}

.el-dialog__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

//新增弹窗
::v-deep .addeteDialog {
    background-color: #FFFFFF;
    width: 1268px;
    // height: 764px;
    border-radius: 6px;
    box-shadow: 0 0 10px #60778E47;
    display: flex;
    flex-direction: column;
}

::v-deep .addeteDialog .el-dialog__header {
    height: 80px;

    div {
        display: flex;
        flex-direction: column;
    }

    border-bottom: 1px solid #EFEFEF;

    // 自定义弹窗x号
    .el-dialog__close::before {
        content: ' ';
        background: url(../../assets/iconfont/x-circle.png);
        background-size: 20px 20px;
        width: 20px;
        height: 20px;
        display: flex;
    }

    .el-dialog__close:active::before {
        background: url(../../assets/iconfont/x-circleactive.png);
        background-size: 20px 20px;
    }
}

::v-deep .addeteDialog .el-dialog__body {
    padding: 17px 20px;

    .addeteDialog_conter {
        // border: 1px solid #EFEFEF;
        flex: auto;
        display: flex;
        flex-direction: column;

        .top_content {
            flex: 1;
            min-height: 200px;
            max-height: 580px;
            overflow-y: auto;

            // padding: 20px 23px;
            .top_content_item {
                border: 1px solid #EFEFEF;
                padding: 11px 17px;
                margin-bottom: 14px;

                .top_content_item_title {
                    font-size: 15px;
                    font-weight: 400;
                    color: #989898;
                    margin-bottom: 20px;
                }

                .top_content_item_lable {
                    font-size: 15px;
                    color: #989898;
                    font-weight: 400;
                    margin-bottom: 14px;
                    display: inline-block;
                }

                .top_content_item_value {
                    font-size: 16px;
                    color: #000000;
                    font-weight: 400;
                }
            }

            .content_checkbox {
                .title_che {
                    margin-top: 20px;
                    margin-bottom: 10px;
                    font-size: 15px;
                    font-weight: 400;
                    color: #989898;
                }

                .title_che_sup {
                    font-size: 13px;
                    font-weight: 400;
                    color: #414141;
                }

                .el-checkbox {
                    margin-top: 8px;
                }

            }
        }

        .footer_submit {
            display: flex;
            align-items: center;
            justify-content: center;
            border-top: 1px solid #EFEFEF;
            padding: 10px 0 15px 0;
        }
    }
}

//删除弹窗
::v-deep .settleDialog {
    background-color: #FFFFFF;
    width: 552px;
    height: 332px;
    border-radius: 6px;
    box-shadow: 0 0 10px #60778E47;
    display: flex;
    flex-direction: column;
}

::v-deep .settleDialog .el-dialog__header {
    .el-dialog__title {
        color: #000;
        font-size: 18px;
        font-weight: 400;
    }

    border-bottom: 1px solid #EFEFEF;
    // 自定义弹窗x号
    // .el-dialog__close::before{
    //   content:' ';
    //   background: url(../../assets/iconfont/x-circle.png);
    //   background-size: 20px 20px;
    //   width: 20px;
    //   height: 20px;
    //   display: flex;
    // }
    // .el-dialog__close:active::before{
    //   background: url(../../assets/iconfont/x-circleactive.png);
    //   background-size: 20px 20px;
    // }
}

::v-deep .deleteDialogSpanconter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

::v-deep .settleDialog .el-dialog__body {
    flex: 1;
}

.settleDialog .dialog-footer {
    display: flex;
    justify-content: center;
    align-items: center;

    button {
        width: 120px;
        height: 38px;
        border-radius: 1px;
        font-size: 16px;
        font-weight: 400;
        color: #FFFFFF;
    }

    button:active {
        opacity: .6;
    }

    button:nth-child(1) {
        margin-right: 32px;
    }

    button {
        background-color: #0584FE;
        border-color: #0584FE;
    }
}

::v-deep .el-button.ch_button {
    padding: 8px 9px;
}

::v-deep .el-button.ch_button span {
    display: flex;
    align-items: center;

    div {
        font-size: 13px;
        font-weight: 400;
        margin-left: 4px;
    }
}

.top_content_item_content {
    color: #000;
    font-size: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.authority {
    margin-bottom: 25px;
}

.checkAllCL {
    margin-right: 28px;
}
::v-deep .el-table--border td{
  border-right: 0;
}
::v-deep .el-table--border th{
  border-right: 0;
}
::v-deep .el-table__body tr.hover-row.current-row>td,::v-deep .el-table__body tr.hover-row.el-table__row--striped.current-row>td,::v-deep .el-table__body tr.hover-row.el-table__row--striped>td,::v-deep .el-table__body tr.hover-row>td{
     background-color:#dbdbdb;
 }
</style>
